<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         .header {
            width: 100%;
            height: 40px;
            background:linear-gradient(#c0bbbb 30%, #222224 70%);;
            line-height: 40px;
            padding-left: 20px;
        }
      
        .nev ul{
            list-style: none;
            display:inline-block;
            padding: 0;
            margin: 0px;
        }
        .nev ul li{
            display: inline-block;
            padding: 0 10px;
            color:rgb(124, 120, 120);
            
            
        }
        .nev ul li:hover{
           background-color: rgb(187, 181, 181);
           border: 1px solid rgb(5, 5, 5);
           height: auto;;
           color:rgb(8, 7, 7);
           height: 38px;
        }
    </style>
</head>

<body>
    <div class="header">
    <div class="nev">
     <ul>
         <li>首页</li>
         <li>我的相册</li>
         <li>我的日志</li>
         <li>我的音乐盒</li>
         <li>我的介绍</li>
         <li>留言本</li>

     </ul>
    </div>
</div>
</body>
</html>